﻿using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace WebApI0001
{
    public class Admin0001DbContext:DbContext
    {

        protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder) 
        {
            optionsBuilder.UseSqlServer("server=.;database=Amdin0001;uid=sa;pwd=123456");
        }



        public DbSet<ProDuck> ProDucks { get; set; }

        public DbSet<Brand> Brands { get; set; }
    }
}
